home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-01-19 | 512 b | 39 lines | [TEXT/MPS ] |
- UNIT Test;
-
- INTERFACE
-
- VAR
- a,
- b,
- c
- :integer;
-
- PROCEDURE Initialize (value:integer);
- (*
- Set the public variable <c> to <value>.
- *)
- FUNCTION GetVal:integer;
- (*
- Return the current value of <c>.
- *)
-
- IMPLEMENTATION
-
- PROCEDURE Initialize;
- (*
- Set the public variable <c> to <value>.
- *)
- BEGIN
- c := value;
- END;
-
- FUNCTION GetVal;
- (*
- Return the current value of <c>.
- *)
- BEGIN
- GetVal := c;
- END;
-
- END.older 'Source' contains the source code and all auxilliary files
- mentioned in the article. T